package cn.ruleengine.web.function;

import cn.ruleengine.core.annotation.Executor;
import cn.ruleengine.core.annotation.Function;
import cn.ruleengine.core.annotation.Param;

/**
 * 左右字符根据 指定符号拼接
 *
 * @author xianrensawang
 * @date 2021/7/13
 */
@Function
public class LeftAppendRightByLine {

    @Executor
    public String append(@Param("left") String left, @Param("line") String line, @Param("right") String right) {
        return left + line + right;
    }

}
